<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>付費信息列表</title>
<@fm.header />
<style type="text/css">
body {
	font: 12px/20px "微软雅黑", "宋体", Arial, sans-serif, Verdana, Tahoma;
	padding: 0;
	margin: 0;
}
.layout-split-proxy-h{
	position:absolute;
	width:2px;
	background:#888;
	font-size:1px;
	cursor:e-resize;
	display:none;
	z-index:5;
}
.layout-split-north{
	border-bottom:5px solid #efefef;
}
.layout-split-south{
	border-top:5px solid #efefef;
}
.layout-split-east{
	border-left:0px solid #efefef;
}
.layout-split-west{
	border-right:0px solid #efefef;
}
a:link {
 text-decoration: none;
}
a:visited {
 text-decoration: none;
}
a:hover {
 text-decoration: underline;
}
a:active {
 text-decoration: none;
}
.cs-north {
	height:40px;
	overflow:hidden;
}
.cs-north-bg {
	width: 100%;
	height: 100%;
	background: url(/resources/js/easyui/themes/bootstrap/images/header_bg.png) repeat-x;
}
.cs-north-logo {
	height: 30px;
	margin: 10px 0px 20px 5px;
	display: inline-block;
	color:#0E2D5F;
	font-size:20px;
	font-weight:bold;
	text-decoration:none;
}
.cs-north-info {
	position: absolute;
	color: #777;
	top: 10px;
	right: 30px;
	display: inline-block;
}
</style>
<script type="text/javascript" >

    function doSearch() {
        $('#tt').datagrid('load', {
            mark: $('#mark').val(),
            startTime: $('#startTime').datebox('getValue'),
            endTime: $('#endTime').datebox('getValue')
        });
        $('#tt').datagrid('unselectAll');
    }
    
    function formatUserType(value){
	if(value==1){
		return '新增';
	}else if(value==2){
		return '留存';
	}
}

</script>
</head>
<body class="cmp-list-body">
	<div id="tb" style="padding:3px">

        <span>关键字</span>
        <input id="mark" class="easyui-textbox" style="width: 155px;" name="mark"/>

        <span>付费时间:</span>
        <input type="text" class="easyui-datetimebox" id="startTime" />至
        <input type="text" class="easyui-datetimebox" id="endTime" />

        <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
	</div>
	<div id="mainPanle" region="center" border="false">
		<table id="tt" class="easyui-datagrid" title="付費信息" iconCls="icon-save" toolbar="#tb" rownumbers="true" idField="id"
			url="/pay/log/list?json" singleSelect="true" checkOnSelect="false" selectOnCheck="false" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">
		    <thead>		    
		    	<tr>
		        	<th align="center" width="5%" field="mark">mark</th>
		            <th align="center" width="20%" field="apkName">名称</th>
		        	<th align="center" width="20%" field="account">付費號碼</th>
		        	<th align="center" width="5%" field="imsi">imsi</th>
		        	<th align="center" width="5%" field="imei">imei</th>
		            <th align="center" width="10%" field="provinceName">省份</th>
		            <th align="center" width="10%" field="createTime">付費時間</th>
		        	<th align="center" width="10%" field="payContent">付費內容</th>
                    <th align="center" width="10%" field="money">金額</th>
                    <th align="center" width="10%" field="userType" formatter="formatUserType">用户类型</th>
		        </tr>
		    </thead>   
		</table>
	</div>
</body>

</html>